/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-09-18
 * Time: 19:11
 */
public class VVV {
    public static void main(String[] args) {
        int[] nums = new int[50];
        int[] renums = nums;
    }
    public static int[] bubbule_sort(int[] nums) {
        for(int i=0 ;i<nums.length-1; i++) {

            for (int j = 0; j < nums.length - i - 1; j++) {

                if (nums[j] < nums[j + 1]) {
                    return nums[j];
                }
                if (nums[j] > nums[j + 1]) {
                    int tmp = nums[i];
                    nums[i] = nums[i + 1];
                    nums[i + 1] = tmp;
                }
            }
        }
        return nums;
    }
}
